package com.itcast.eureka.feignDao;


import com.itcast.eureka.model.CmsPage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "demo-eureka-client-dataserver")
public interface CmsPageClient {

    @GetMapping("/cmspage/findone/{id}")
    public CmsPage findOne(@PathVariable("id") String id);
}
